<div id="tabar" class="tabs tabs-icon-top" style="position: fixed">
    <a class="tab-item" v-bind:class="[index == 0 ? 'balanced' : '']" @click="index = 0">
        <i class="icon ion-home"></i>
        图书查询
    </a>
    <a class="tab-item" v-bind:class="[index == 1 ? 'balanced' : '']" @click="index = 1">
        <i class="icon ion-star"></i>
        我的借书
    </a>
    {{--<a class="tab-item" v-bind:class="[index == 2 ? 'balanced' : '']" @click="index = 2">--}}
        {{--<i class="icon ion-gear-a"></i>--}}
        {{--设置--}}
    {{--</a>--}}
</div>